]> dgit.raspbian.org Git - gnome-shell.git/commit
messageTray: dismiss notifications on click, not button-release-event
authorDan Winship <danw@gnome.org>
Thu, 3 Mar 2011 20:14:52 +0000 (15:14 -0500)
committerDan Winship <danw@gnome.org>
Wed, 16 Mar 2011 19:55:37 +0000 (15:55 -0400)
commit06d2c0af3502295a76824191110c07c3e8d7fc30
tree37222691ef8096d3b37032c8c3ed434b78f4efc9
parent708f1a97dd54772bf586523598be1701a8afe839
messageTray: dismiss notifications on click, not button-release-event

Notification was connecting to button-release-event to decide when to
be dismissed, which caused problems with widgets inside the
notification that reacted to button-press-event but not
button-release-event. Fix this by wrapping the Notification's table in
an StButton and connecting to 'click'.

https://bugzilla.gnome.org/show_bug.cgi?id=642978
js/ui/messageTray.js